/*
 * 〈描述〉
 *
 * @author chenxing
 * @since 版本号
 */

package com.maorioi.failureanalyzer.model;

import javax.validation.constraints.NotNull;

/**
 * 〈一句话功能简述〉
 *
 * <p>〈功能详细描述〉
 *
 * @author chenxing
 * @since 版本号
 */
public class CompileFailure extends Failure {

    public static final String COMPILER_NPM = "npm";
    public static final String COMPILER_MVN = "mvn";
    public static final String FLYWAY = "flyway";

    @NotNull
    private String compiler;
    @NotNull
    private String projectName;
    //编译时目录相对git项目根目录的路径
    private String compileDir;

    public String getCompiler() {
        return compiler;
    }

    public void setCompiler(String compiler) {
        this.compiler = compiler;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public String getCompileDir() {
        return compileDir;
    }

    public void setCompileDir(String compileDir) {
        this.compileDir = compileDir;
    }
}
